package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 模板对象 tb_template
 * 
 * @author ruoyi
 * @date 2022-06-01
 */
public class TbTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String name;

    /** 规格数量 */
    @Excel(name = "规格数量")
    private Integer specNum;

    /** 参数数量 */
    @Excel(name = "参数数量")
    private Integer paraNum;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSpecNum(Integer specNum) 
    {
        this.specNum = specNum;
    }

    public Integer getSpecNum() 
    {
        return specNum;
    }
    public void setParaNum(Integer paraNum) 
    {
        this.paraNum = paraNum;
    }

    public Integer getParaNum() 
    {
        return paraNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("specNum", getSpecNum())
            .append("paraNum", getParaNum())
            .toString();
    }
}
